package com.kangye.exam.dao;

import com.kangye.exam.bean.Grade;
import com.kangye.exam.bean.Subject;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;


public interface SubjectDao {

    List<Subject> selectALL();

    int deleteByPrimaryKey(Map<String,Object> map);

    Subject selectByPrimaryKey(Map<String,Object> map);

    Subject selectByName(String name);

    int insertSelective(Subject subject);

    int updateByPrimaryKeySelective(Subject subject);

    List<Subject> selectByParm(Map<String,Object> map);

}